#ifndef LQ_MCF52259_EPORT_driver_h_
#define LQ_MCF52259_EPORT_driver_h_

#include "MCF52259.h"


#define EnableInterrupts asm { move.w SR,D0; andi.l #0xF8FF,D0; move.w D0,SR;  }


void EPORT_init(void);

__declspec(interrupt) void EPORT_irq1_handler(void);
__declspec(interrupt) void EPORT_irq3_handler(void);
__declspec(interrupt) void EPORT_irq5_handler(void);
__declspec(interrupt) void EPORT_irq7_handler(void);

#endif